﻿@using Fyp.Models;
@{
    Layout = "~/Shared/_layoutPage.cshtml";
    var PageTitle = "Artifact View";
   
}
@section title
{
 @PageTitle
}
<html lang="en">
<head>
<title></title>
    <link rel="stylesheet" type="text/css" href="~/Styles/template.css" media="screen">
    <style>
        #a1{margin-left:400px;
            margin-top:10px;
        } 
        
         #lb{margin-left:100px;
            
        }
        #lc {
        margin-left:50px;
        margin-right:100px;
        }
        #f1 {
            margin-top:50px;
          margin-right:100px;
        }
    </style>
</head>
<tbody>
    <link rel="stylesheet" type="text/css" href="~/Styles/template.css" media="screen">
<script>
   
</script>
    <div id="content"><h2 style="text-align: center;"><b>Teacher View</b></h2><br/></div>

    <div id="main" class="background">

    <div id="lb">
        <div id="lc">
            
<form action="TeacherView" method="post" id="f1">
    <table style="margin-left: -2px;" >
   <tr> <td><label>Choose group</label></td>
      <td>
        
        <select name="GroupField" id="op1" style="margin-left:90px">
    <option>-Select-</option>
   @for (int i = 0; i <global.glist.Count();i++ )
   { 
       
       <option value ="@global.glist[i].GId">@global.glist[i].GId</option>
   }
  </select>
    </td>
     </tr>
    </table>
        <input type="Submit" value="ShowDetails">
           </form>
        <form action="TeacherView" method="get">
<table>
<tbody>
    
    
   <tr>
       <td>Group id is:@ViewBag.id </td></tr>
       <tr> <td>Project Title is:@ViewBag.PTitle</td>
             <tr> <td>Project Advisor is:@ViewBag.Advisor </td>
   <tr><td>Artifact Title is :@ViewBag.Arti_Title</td>
   </tr>
    <tr><td>Students Comment is :@ViewBag.Comi_S</td>
   </tr>
<tr>
    </tbody>
    </table>
            </form>
            </div>
       @*  *@
           <form action="/SubmitArtifact/ReplyComment" method="post">
 <table style="margin-left: 50px;">
                 <tbody>
                    <tr>
                        <td >

<label>Comment : </label><td>
    <td>
<textarea name="RepComment" cols="30" rows="4" style="margin-left: -65px;"></textarea> <br/>  </td>
                        </tr>
                            <tr>
                                <td>
     <input type="Submit" value="Submit" class = "buttonSave" style="margin-left: 190px;"></td></tr>
     </form>
        </tbody>
       </table>
       
    <table  style="margin-left: 50px;">
        <tbody>
<tr>
<td>

<a href="/@ViewBag.path" target="_blank">Download Task</a>
</td>
</tr>

</tbody>
</table>
                    </div>
        </div>
        </body>
     
      